<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>弹出窗口</title>
</head>
<body>

	<script type="text/javascript">
	var win_demo = null;
	$(function(){
		win_demo = _.window({
			title : "演示窗口",
			left : 400,
			top : 100
		});
	});
	</script>
	
	<div changer="button" config="{onclick:function(){win_demo.display();}}">win_demo.display();</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.width(300);}}">win_demo.width(300);</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.height(200);}}">win_demo.height(200);</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.top(20);}}">win_demo.top(20);</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.left(300);}}">win_demo.left(300);</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.title('标题被重新设置');}}">win_demo.title('标题被重新设置');</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.url('page/data.html');}}">win_demo.url('page/data.html');</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.iframe(true);}}">win_demo.iframe(true);</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.iframe(false);}}">win_demo.iframe(false);</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.iframe(true);win_demo.url('http://www.baidu.com');}}">win_demo.iframe(true);win_demo.url('http://www.baidu.com');</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.min();}}">win_demo.min();</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.re();}}">win_demo.re();</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.max();}}">win_demo.max();</div><br/>
	
	<div changer="button" config="{onclick:function(){win_demo.container('.desktop > [index=1]');}}">win_demo.container(".desktop > [index=1]");</div><br/>
	<div changer="button" config="{onclick:function(){win_demo.container('body');}}">win_demo.container("body");</div><br/>
	
</body>
</html>